<template>
  <div>
    <header>
      <slot name="header" :title="title" :body="body"> </slot>
    </header>

    <main>
      <slot name="main"></slot>
    </main>
    <footer>
      <slot name="footer"> </slot>
    </footer>
  </div>
</template>

<script lang="ts" setup>
  const title = '测试';
  const body = '12321312312';
</script>
